//过滤设备状态数据
const dataFilter = (arr, filterArr) => {
  let newarr = []
  arr.forEach((item, i) => {
    if (filterArr.indexOf(item.value) != -1) {
      newarr.push(item)
    }
  })
  return newarr
}
export default dataFilter